package com.docker.jy.mapper;

import java.util.List;
import com.docker.jy.domain.DoctorStorageManagement;

/**
 * 会员储值管理Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-11
 */
public interface DoctorStorageManagementMapper 
{
    /**
     * 查询会员储值管理
     * 
     * @param id 会员储值管理主键
     * @return 会员储值管理
     */
    public DoctorStorageManagement selectDoctorStorageManagementById(Long id);

    /**
     * 查询会员储值管理列表
     * 
     * @param doctorStorageManagement 会员储值管理
     * @return 会员储值管理集合
     */
    public List<DoctorStorageManagement> selectDoctorStorageManagementList(DoctorStorageManagement doctorStorageManagement);

    /**
     * 新增会员储值管理
     * 
     * @param doctorStorageManagement 会员储值管理
     * @return 结果
     */
    public int insertDoctorStorageManagement(DoctorStorageManagement doctorStorageManagement);

    /**
     * 修改会员储值管理
     * 
     * @param doctorStorageManagement 会员储值管理
     * @return 结果
     */
    public int updateDoctorStorageManagement(DoctorStorageManagement doctorStorageManagement);

    /**
     * 删除会员储值管理
     * 
     * @param id 会员储值管理主键
     * @return 结果
     */
    public int deleteDoctorStorageManagementById(Long id);

    /**
     * 批量删除会员储值管理
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDoctorStorageManagementByIds(Long[] ids);

    //修改累计储值与储值余额
    public int updateDoctorStorageAndBalance(int id, double storage, double balance);
}
